﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace WeChat.CMS.Foods
{
    public interface IFoodAppService : IApplicationService
    {
        Task<bool> CreateAsync(FoodCreationDto input);
        Task<bool> UpdateAsync(FoodUpdateDto foodUpdate);

        Task<bool> DeleteAsync(Guid guid);

        Task<FoodDto> GetAsync(Guid id);

        Task<List<FoodDto>> GetAllListAsync();

        Task<PagedResultDto<FoodDto>> GetListAsync(FoodPagedListDto input);
    }
}
